package com.zn.service;

import com.zn.entity.AppBanner;
import com.zn.entity.AppInformation;
import com.zn.entity.AppInformationType;
import com.zn.entity.JinshiData;
import com.zn.web.dto.AppCustomerDto;

import java.util.List;

/**
 * 功能描述
 * @author chenwenjing
 * @time 2018/12/25 14:21
 */
public interface AppBannerService {

    //查询所有banner
    public List<AppBanner> findAll();

    /**
     * 查询所有有效文章类型
     * @return
     */
    public List<AppInformationType> findAppInformationTypeEffective();

    /**
     * 分页查询所有有效文章
     * @param appCustomerDto
     * @return
     */
    public List<AppInformation> findAppInformationEffective(AppCustomerDto appCustomerDto);

    /**
     * 查询72快讯等特殊类型信息
     * @param appCustomerDto
     * @return
     */
    public List<JinshiData> findJinshiDataList(AppCustomerDto appCustomerDto);

    public void delectJinShiData();

    public Integer findDay();
}
